package com.example.wm.models;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
 *
 * {
	  "warehouseEntryNumber": "WH-IN-20230719-001",
	  "entryDate": "2023-07-19",
	  "supplier": "SupplierName",
	  "totalContainers": 2,
	  "containers": [
	    {
	      "containerNumber": "CNTR-123456",
	      "containerType": "20 feet",
	      "goodsDescription": "Electronic products",
	      "quantity": 100,
	      "storageLocation": "Area A - Row 1 - Position 5",
	      "expectedOutboundDate": "2023-08-10"
	    },
	    {
	      "containerNumber": "CNTR-789012",
	      "containerType": "40 feet",
	      "goodsDescription": "Machinery and equipment",
	      "quantity": 50,
	      "storageLocation": "Area B - Row 2 - Position 3",
	      "expectedOutboundDate": "2023-08-20"
	    }
	  ],
	  "remarks": "Please ensure the goods are stored within 24 hours and verify the container numbers and quantities.",
	  "operator": "OperatorName",
	  "auditor": "AuditorName"
	}
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WarehouseEntry {
    private String warehouseEntryNumber;
    private String entryDate;
    private String supplier;
    private int totalContainers;
    private List<Container> containers;
    private String remarks;
    private String operator;
    private String auditor;

}
